home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
apidev
/
tpapi.exe
/
DOCS
/
OLDDOCS.LZH
/
NWBINDRY.DOC
< prev
next >
Wrap
Text File
|
1992-10-26
|
19KB
|
436 lines
BINDERY SERVICES
================
-------------------------------------------------------------------------------
AddBinderyObjectToSet (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType;
MemberName : ObjectNameType;
MemberType : OT_BinderyType) : WORD;
Adds a bindery object to a set property.
BinderyObjectName (Input) : name of the bindery object to which a
new member will be added.
BinderyObjectType (Input) : type of the bindery object to which a
new member will be added.
PropertyName (Input) : name of the property to which the
member will be added.
MemberName (Input) : name of the object to be added to the
property.
MemberType (Input) : type of the object to be added to the
property.
-------------------------------------------------------------------------------
ChangeBinderyObjectPassword (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
OldPassword, NewPassword : PasswordType) : WORD;
Changes the password of a bindery object.
NOTE : DOES NOT WORK WITH ENCRYPTED PW
BinderyObjectName (Input) : name of the bindery object.
BinderyObjectType (Input) : type of the bindery object.
OldPassword (Input) : the object's old password.
NewPassword (Input) : the object's new password.
-------------------------------------------------------------------------------
ChangeBinderyObjectSecurity (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
NewObjectSecurity : BYTE) : WORD;
Allows the supervisor to change the security of a bindery object.
BinderyObjectName (Input) : name of the bindery object.
BinderyObjectType (Input) : type of the bindery object.
NewObjectSecurity (Input) : the read/write access of the object
to other objects.
-------------------------------------------------------------------------------
ChangePropertySecurity (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType;
NewPropertySecurity : BYTE) : WORD;
Changes the security of a bindery object's property.
BinderyObjectName (Input) : name of the bindery object.
BinderyObjectType (Input) : type of the bindery object.
PropertyName (Input) : name of the property whose security
will be changed.
NewPropertySecurity (Input) : the read/write access of the property
to others.
-------------------------------------------------------------------------------
CloseBindery : WORD;
Allows the supervisor to close the bindery.
-------------------------------------------------------------------------------
CreateBinderyObject (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
ObjectFlags, ObjectSecurity : BYTE) : WORD;
Allows the supervisor to create a bindery object.
BinderyObjectName (Input) : name of the bindery object to create.
BinderyObjectType (Input) : type of the bindery object to create.
ObjectFlags (Input) : indicates whether the object will be
DYNAMIC or STATIC.
ObjectSecurity (Input) : the read/write access of the object to
other objects.
-------------------------------------------------------------------------------
CreateProperty (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType;
PropertyFlags, PropertySecurity : BYTE) : WORD;
Adds a property to a bindery object.
BinderyObjectName (Input) : name of the bindery object for which
the property is to be created.
BinderyObjectType (Input) : type of the bindery object.
PropertyName (Input) : name of the new property.
PropertyFlags (Input) : indicates whether the property will be
DYNAMIC/STATIC and ITEM/SET.
PropertySecurity (Input) : read/write access of the property to
others.
-------------------------------------------------------------------------------
DeleteBinderyObject (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType) : WORD;
Allows the supervisor to delete a bindery object.
BinderyObjectName (Input) : name of the object to delete.
BinderyObjectType (Input) : type of the object to delete.
-------------------------------------------------------------------------------
DeleteBinderyObjectFromSet (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType;
MemberName : ObjectNameType;
MemberType : OT_BinderyType) : WORD;
Deletes a bindery object from a set property.
BinderyObjectName (Input) : name of the bindery object from which
the member will be deleted.
BinderyObjectType (Input) : type of the bindery object from which
the member will be deleted.
PropertyName (Input) : name of the SET property from which the
member will be deleted.
MemberName (Input) : name of the object to be deleted from
the SET property.
MemberType (Input) : type of the object to be delete from
the SET property.
-------------------------------------------------------------------------------
DeleteProperty (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType) : WORD;
Deletes properties from a bindery object.
BinderyObjectName (Input) : name of the bindery object.
BinderyObjectType (Input) : type of the bindery object.
PropertyName (Input) : the name of the property to be deleted.
-------------------------------------------------------------------------------
GetBinderyAccessLevel (VAR SecurityAccessLevel : BYTE;
VAR ObjectID : OT_BinderyID) : WORD;
Returns the requesting workstation's access level to a file server's
bindery.
SecurityAccessLevel (Output) : receives the security level the object
has to the bindery.
ObjectID (Output) : receives the unique ID of the object.
-------------------------------------------------------------------------------
GetBinderyObjectID (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
VAR ObjectID : OT_BinderyID) : WORD;
Returns a bindery object's unique identification number.
BinderyObjectName (Input) : name of the bindery object for which
the ID is to be returned.
BinderyObjectType (Input) : type of the bindery object.
ObjectID (Output) : receives the unique ID of the object.
-------------------------------------------------------------------------------
GetBinderyObjectName (ObjectID : OT_BinderyID;
VAR BinderyObjectName : ObjectNameType;
VAR BinderyObjectType : OT_BinderyType) : WORD;
Returns the name and type of a bindery object.
ObjectID (Input) : the unique ID of the object for which
the name/type is to be returned.
ObjectName (Output) : receives the object name of the ID.
ObjectType (Output) : receives the object type of the ID.
-------------------------------------------------------------------------------
IsBinderyObjectInSet (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType;
MemberName : ObjectNameType;
MemberType : OT_BinderyType) : WORD;
Determines if a bindery object is a member of a set property.
BinderyObjectName (Input) : name of the bindery object.
BinderyObjectType (Input) : type of the bindery object.
PropertyName (Input) : name of the SET property from which the
member will be checked for membership.
MemberName (Input) : name of the object to be checked for
membership.
MemberType (Input) : type of the object to be checked for
membership.
-------------------------------------------------------------------------------
OpenBindery : WORD;
Allows the supervisor to open the bindery.
-------------------------------------------------------------------------------
ReadPropertyValue (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType; SegmentNumber : WORD;
VAR PropertyValue : PropertyValueType;
VAR MoreSegments, PropertyFlags : BYTE) : WORD;
Returns the value of a bindery object's item or set property.
BinderyObjectName (Input) : name of the bindery object.
BinderyObjectType (Input) : type of the bindery object.
PropertyName (Input) : name of the property to be read.
SegmentNumber (Input) : segment number of the property to be
read. (1 = first segment)
PropertyValue (Output) : receives the data contained in the
property.
MoreSegments (Output) : receives a flag which indicates whether
the property has more segments.
(0 = no more segments)
(255 = more segments)
PropertyFlags (Output) : receives the flags of the property,
whether DYNAMIC/STATIC and SET/ITEM.
-------------------------------------------------------------------------------
RenameBinderyObject (BinderyObjectName,
NewBinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType) : WORD;
Allows the supervisor to rename a bindery object.
BinderyObjectName (Input) : name of the object to rename.
NewBinderyObjectName (Input) : the new name of the bindery object.
BinderyObjectType (Input) : type of the object to rename.
-------------------------------------------------------------------------------
ScanBinderyObject (SearchObjectName : ObjectNameType;
SearchObjectType : OT_BinderyType;
VAR ObjectID : OT_BinderyID;
VAR BinderyObjectName : ObjectNameType;
VAR BinderyObjectType : OT_BinderyType;
VAR ObjectHasProperties, ObjectFlags,
ObjectSecurity : BYTE) : WORD;
Scans the bindery for an object.
SearchObjectName (Input) : name of the object to search for.
wildcards are allowed.
SearchObjectType (Input) : type of the object to search for.
ObjectID (Input/Output) : contains the objectID from a previous
search. Initial search requires -1.
BinderyObjectName (Output) : contains the name of a matching bindery
object.
BinderyObjectType (Output) : contains the type of the matching
bindery object.
ObjectHasProperties (Output) : indicates whether the object has any
properties. (0 = no properties)
(255 = properties exist)
ObjectFlags (Output) : indicates whether the object is
DYNAMIC/STATIC.
ObjectSecurity (Output) : receives a flag that indicates the
read/write access of others to the
object.
-------------------------------------------------------------------------------
ScanBinderyObjectTrusteePaths (ObjectID : OT_BinderyID; VolumeNumber : BYTE;
VAR SequenceNumber : WORD;
VAR TrusteeAccessMask : WORD;
VAR TrusteePathName : PathNameType) : WORD;
Returns the directory paths to which an object has trustee rights.
ObjectID (Input) : object ID for which trustee info
should be returned.
VolumeNumber (Input) : the volume to be searched.
SequenceNumber (Input/Output) : contains the sequence number from a
previous search. Initial search
requires a 0.
TrusteeAccessMask (Output) : receives the trustee rights to
TrusteePathName.
TrusteePathName (Output) : receives a string containing a path
of which the object is a trustee.
when all valid paths have been returned
this will contain NULL.
--------------------------------------------------------------------------------
ScanProperty (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
SearchPropertyName : PropertyNameType;
VAR SequenceNumber : LONGINT;
VAR PropertyName : PropertyNameType; VAR PropertyFlags,
PropertySecurity, PropertyHasValue,
MoreProperties : BYTE) : WORD;
Scans the bindery for an object's properties.
BinderyObjectName (Input) : name of the object to search.
BinderyObjectType (Input) : type of the object to search.
SearchPropertyName (Input) : name of property to search for.
wildcards are allowed.
SequenceNumber (Input/Output) : contains the sequence number from a
previous search. Initial search
requires a -1.
PropertyName (Output) : receives the matching property name.
PropertyFlags (Output) : indicates whether the property is
DYNAMIC/STATIC and SET/ITEM.
PropertySecurity (Output) : receives the read/write security of the
matching property.
PropertyHasValue (Output) : indicates whether the property has a
value. (0 = no value)
(255 = property has value)
MoreProperties (Output) : indicates whether the object has more
properties. (0 = no more properties)
(255 = more properties)
-------------------------------------------------------------------------------
VerifyBinderyObjectPassword (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
Password : PasswordType) : WORD;
Verifies that the password of a bindery object is valid.
NOTE : DOES NOT WORK WITH ENCRYPTED PW
BinderyObjectName (Input) : name of the object to verify.
BinderyObjectType (Input) : type of the object.
Password (Input) : the password that is to be verified.
-------------------------------------------------------------------------------
WritePropertyValue (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType; SegmentNumber : WORD;
PropertyValue : PropertyValueType;
MoreSegments : BYTE) : WORD;
Writes a value to an item or set property.
BinderyObjectName (Input) : name of the bindery object.
BinderyObjectType (Input) : type of the bindery object.
PropertyName (Input) : name of the property to be written.
SegmentNumber (Input) : segment number of the property to be
written. (1 = first segment)
PropertyValue (Input) : contains the buffer to be written.
MoreSegments (Input) : indicates if the property value has more
segments to follow.
(0 = no more segments)
(255 = more segments follow)
-------------------------------------------------------------------------------